#parse("/user/admin/inc/top.htm")
<div class="clearfix"></div>
<div class="MainPannel">
<script language="JavaScript">
function doSave()
{
if(doCheck())
{
if(EditForm.cid.value!="")EditForm.parameter.value="update";
EditForm.submit();
}
}

function doCheck()
{
if(EditForm.title.value=="")
{
alert("标题不能为空！");
EditForm.title.focus();
return false;
}

return true;
}
</script>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><strong>博客图片编辑</strong>   </td>
    <td><div align="right"></div></td>
  </tr>
</table>
<form name="EditForm" method="post" action="/blogPhoto.do">
 <input type="hidden" name="parameter" value="add">  
 <input type="hidden" name="cid"   value="$!cid">	
  <input type="hidden" name="parentsn"   value="$!parentsn">	
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#E8E8E8">
  <tr bgcolor="#FFFFFF"> 
    <td width="80" height="29" align="center">名称：</td>
    <td align="left" colspan="2"> <input name="title" type="text" class="input3" id="ti" value="$!title" size="40"> 
      <span class="text-red4">*</span></td>
  </tr>
  <tr bgcolor="#FFFFFF"> 
    <td align="center" valign="top"><br>
      简介：</td>
    <td align="left" colspan="2"> <textarea name="intro" cols="3" id="intro" style="width:80%">$!intro</textarea>    </td>
  </tr>
   <tr bgcolor="#FFFFFF"> 
      <td height="29" align="center">所属相册：</td>
    <td align="left" colspan="2">
	<select name="dirid">
	$!TagUtil.options($photoService.queryPhotoDir($!currentUser.userName,1,15).result,"cid","title",$dirid)
	</select>
	<span id="scoreSpan"></span></td>
  </tr>
  
  <tr bgcolor="#FFFFFF"> 
    <td height="30">&nbsp;</td>
    <td width="448"><input type="button" name="Submit" value="保存" onClick="doSave()">      　
      <input type="reset" name="Submit23" value="重置">　      
      <input type="reset" name="Submit22" value="返回" onClick="history.go(-1);">
      </td>
    <td width="237"> 
    
</td>
    </tr>
</table>
</form>
</td>
</tr>
</table>
	<div class="clearfix"></div>
</div>
<div class="clearfix"></div>
#parse("/user/admin/inc/bottom.htm")
</body>
</html>
#if($msg)
<script>
alert('$!msg');
</script>
#end